package 设计模式.行为型模式.状态模式;

/**
 * @author MT
 * @date 2019-11-13 18:35
 */
public class ConcreteStateA extends State {
    @Override
    public void Handle(Context context) {

        System.out.println("当前状态是 A.");
        context.setState(new ConcreteStateB());
    }
}
